package com.hos.db.entity.msg;

import java.util.Date;

/**
 * 消息
 * Created by guom on 2018/10/30.
 */
public class MsgEntity {
    private String msgId  ;//消息id
    private String msgTitle ;// 消息标题
    private String msgType  ;// 消息类型
    private String msgContent  ;// 消息内容
    private String msgOwner ;// 消息所有者
    private String msgOwnerId  ;// 消息所有者id
    //1 医生 2 患者
    private String msgOwnerType  ;// 消息所有者类型
    private Date msgCreateTime  ;// 消息创建时间
    private boolean msgRead  ;// 消息是否阅读

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public String getMsgOwner() {
        return msgOwner;
    }

    public void setMsgOwner(String msgOwner) {
        this.msgOwner = msgOwner;
    }

    public String getMsgOwnerId() {
        return msgOwnerId;
    }

    public void setMsgOwnerId(String msgOwnerId) {
        this.msgOwnerId = msgOwnerId;
    }

    public String getMsgOwnerType() {
        return msgOwnerType;
    }

    public void setMsgOwnerType(String msgOwnerType) {
        this.msgOwnerType = msgOwnerType;
    }

    public Date getMsgCreateTime() {
        return msgCreateTime;
    }

    public void setMsgCreateTime(Date msgCreateTime) {
        this.msgCreateTime = msgCreateTime;
    }

    public boolean isMsgRead() {
        return msgRead;
    }

    public void setMsgRead(boolean msgRead) {
        this.msgRead = msgRead;
    }
}
